<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url')?>js/jq.mselect.old.js"></script>
<script type="text/javascript">
$(function(){
	var website_categories_data = <?=$website_categories ?>;
	$(document).mselect(website_categories_data, ['website_id','website_cat_1','website_cat_2','website_cat_3'], ['','','',''], ['','','','']);
});
</script>
<h2>按网站导入上架产品信息</h2>
<form action="<?=url('Online::Zencart/ImportSave')?>" method="post" enctype="multipart/form-data">
<p>1.选择网站和分类：
	<select id="website_id" name="website_id"></select>
	<select id="website_cat_1" name="website_cat_1"></select>
	<select id="website_cat_2" name="website_cat_2"></select>
	<select id="website_cat_3" name="website_cat_3"></select>
</p>
<p>2.导入CSV文件：<input type="file" name="product" /></p>
<p><input type="submit" class="button" value="确定导入" /></p>
</form>
<?php $this->_endblock();?>